package com.xiaolin.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaolin.oa.model.dto.NodeApprover;
import com.xiaolin.oa.model.entity.CommonProcessApprover;

import java.util.List;

/**
 * <p>
 * 流程审批人表 Mapper 接口
 * </p>
 *
 * @author xiaolin
 * @since 2024-08-22
 */
public interface CommonProcessApproverMapper extends BaseMapper<CommonProcessApprover> {
    List<NodeApprover> getProcessNodeApprovers(Integer processNodeId);

    List<NodeApprover> getProcessNodeApproversByFlow(Integer processNodeId);
}
